package com.qianbei.common.view.foot;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RadioButton;
import android.widget.RadioGroup;

import com.qianbei.R;
import com.qianbei.common.base.BaseFragment;

public class FootFragment extends BaseFragment {


    public RadioButton home_main;
    public RadioButton home_search;
    public RadioButton home_message;
    public RadioButton home_user;
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View v = inflater.inflate(R.layout.comm_foot_fragment, container, false);
        RadioGroup mRadioGroup1 = (RadioGroup) v
                .findViewById(R.id.home_radiogroup);

        home_main =(RadioButton)v.findViewById(R.id.home_main);
        home_search =(RadioButton)v.findViewById(R.id.home_search);
        home_message =(RadioButton)v.findViewById(R.id.home_message);
        home_user =(RadioButton)v.findViewById(R.id.home_user);
        mRadioGroup1.setOnCheckedChangeListener(this);
        return v;
    }

}
